import request from '@/utils/request'

// 查询FPA模板列表
export function listFunctionFpaActionTemplate(query) {
  return request({
    url: '/fpa/functionFpaActionTemplate/list',
    method: 'get',
    params: query
  })
}

// 查询FPA模板详细
export function getFunctionFpaActionTemplate(id) {
  return request({
    url: '/fpa/functionFpaActionTemplate/' + id,
    method: 'get'
  })
}

// 新增FPA模板
export function addFunctionFpaActionTemplate(data) {
  return request({
    url: '/fpa/functionFpaActionTemplate',
    method: 'post',
    data: data
  })
}

// 修改FPA模板
export function updateFunctionFpaActionTemplate(data) {
  return request({
    url: '/fpa/functionFpaActionTemplate',
    method: 'put',
    data: data
  })
}

// 删除FPA模板
export function delFunctionFpaActionTemplate(id) {
  return request({
    url: '/fpa/functionFpaActionTemplate/' + id,
    method: 'delete'
  })
}
